<%-- 
    Document   : ordercomplete
    Created on : Jan 28, 2013, 7:05:32 PM
    Author     : KAKAIT
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page import="model.entity.Bill"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<div class="col-main" id="ves-col-main">
<script type="text/javascript">
//&lt;![CDATA[
    window.document.title ="Order Complete";
//]]&gt;
</script>						<!-- main content -->
    <div class="page-title">
        <h1>Your order has been received.</h1>
    </div>
    <h2 class="sub-title">Thank you for your purchase!</h2>
<%
    Bill bil = (Bill)session.getAttribute("bill");
%>
<p>Your order # is: <a href="<c:url value="/listbilldetail"><c:param name="billid" value="<%= bil.getBillid() %>"></c:param></c:url>"><%= bil.getBillid() %></a>.</p>
    <p>You will receive an order confirmation email with details of your order and a link to track its progress.</p>
    <p>
        Click <a href="<c:url value="<%= "/views/user/print_order.jsp" %>"><c:param name="billid" value="<%= bil.getBillid() %>"/><c:param name="datepurchase" value="<%= bil.getDatepurchase() %>"/></c:url>">here to print</a> a copy of your order confirmation.            
    </p>
    <div class="buttons-set">
        <button onclick="window.location='<c:url value="/homepage"/>'" title="Continue Shopping" class="button" type="button"><span><span>Continue Shopping</span></span></button>
    </div>
						<!-- end main content -->
</div>
